﻿using App.Common;
using QxFramework.Core;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class OperationCommandUI : UIBase
{

    public override void OnDisplay(object args)
    {
        base.OnDisplay(args);
        transform.Find("OperationBtn").GetComponent<Button>().onClick.AddListener(OpenOperation);
    }

    private void OpenOperation()
    {
        UIManager.Instance.Open("OperationWindowUI", 2, args: new DialogWindowUI.DialogWindowUIArg("操作说明"));
    }    

}
